package com.jgp.sys.ui.model;

import com.jgp.common.persistence.LONGModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目   sys
 * 作者   loufei
 * 时间   2018/3/11
 */
public class Grid  extends LONGModel {
    @Column(name="action",length = 50)
    private String action;
    @Column(name="method_type",length = 10)
    private MethodType methodType;
    @Column(name="title",length = 50)
    private String title;
    @Column(name="cols",length = 2)
    private Integer cols = 12;
    @Column(name="models")
    private String[] models;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public MethodType getMethodType() {
        return methodType;
    }

    public void setMethodType(MethodType methodType) {
        this.methodType = methodType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCols() {
        return cols;
    }

    public void setCols(Integer cols) {
        this.cols = cols;
    }

    public String[] getModels() {
        return models;
    }

    public void setModels(String[] models) {
        this.models = models;
    }
}
